import tagRender from "@/components/aggridCellRenDerer/tagRender.vue";
import buttionRender1 from "@/components/aggridCellRenDerer/buttionRender1.vue";
const tableColumns2 = [
    {
        field: '',
        headerCheckboxSelection: true,
        checkboxSelection: true,
        width: 50,
        showDisabledCheckboxes: false,
        pinned: 'left',
    },
    {
        headerName: '机台',
        field: 'machineCode',
        width: 150
    },
    {
        headerName: '最早调机单坯布编号',
        field: 'greyCode',
        width: 150
    },
    {
        headerName: '标准洗机天数',
        field: 'washDay',
        width: 150
    },
    {
        headerName: '最近洗机日期',
        field: 'latelyWashDate',
        width: 150
    },
    {
        headerName: '累计开机天数',
        field: 'startDayCount',
        width: 150
    },
    {
        headerName: '洗机预警天数',
        field: 'warningDays',
        width: 150
    },
    {
        headerName: '预计洗机到期日',
        field: 'lastWashDate',
        width: 150
    },
    {
        headerName: '超期天数',
        field: 'exceedDays',
        width: 150
    },
    {
        headerName: '操作',
        field: 'action',
        width: 150,
        cellRenderer: buttionRender1,
        cellRendererParams: {
            buttonList: [
                {
                    type: 'success',
                    text: '详情',
                    typeName: 'el-button',
                    show:true,
                    Callback: (data: any) => {
                        return {
                            rowData:data,
                            emitString:'detailHandle'
                        }
                    }
                },
            ],
            eltagSize: 0,
        },
    },
]

export default tableColumns2